<% include header %>
<div id="touxiang">
    <div class="touxiang" style="width: 200px;height: 200px;">
        <%if(user.txname){%>
        <img style="width: 100%;height: 100%;" src="images/<%= user.txname%>" alt="<%= user.name%>">
        <%}else{%>
        <img style="width: 100%;height: 100%;" src="images/touxiang/1.jpg" alt="？？？">
        <%}%>
    </div>
    <form method="post" enctype="multipart/form-data">
        <input type="file" name="photo">
        <input type="submit" value="上传头像">
    </form>
</div>
<% include footer %>